#ifndef KMY_SPRITETYPEDEF_H
#define KMY_SPRITETYPEDEF_H

#include <string>
using namespace std;

typedef struct{
    int index;
    int image_index;
    int x,y;
    int trans;
    float alpha;
    float rotate;
    int scale_x, scale_y;
}ST_imagePart;

typedef struct{
    int index;
    int mask;
    int x1, y1, x2, y2;
}ST_cdPart;

//typedef struct{
//    int imagepart_num;
//    int cdpart_num;
//    int* imagepart_indexs;
//    int* cdpart_indexs;
//}ST_frameImage;

typedef struct {
    int num;
    int* indexs;
}ST_indexs;

typedef struct{
    string name;
    int frame_num;
    int* image_frame_indexs;
    int* cd_frame_indexs;
}ST_anime;


#endif // SPRITETYPEDEF_H
